<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="renderer" content="webkit">
		<title>写日志</title>
		<link href="css/bootstrap.css" rel="stylesheet">
		<link href="font-awesome/css/font-awesome.css?v=4.3.0" rel="stylesheet">
		<link href="css/plugins/iCheck/custom.css" rel="stylesheet">
		<link href="css/plugins/summernote/summernote.css" rel="stylesheet">
		<link href="css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
		<link href="css/animate.css" rel="stylesheet">
		<link href="css/style.css?v=2.2.0" rel="stylesheet">
	</head>
	<body>
		<h2> 写日志 </h2>
		<div class="mail-box">

			<div class="mail-body">

				<form class="form-horizontal" method="get">
					<div class="form-group">
						<label class="col-sm-2 control-label">主题：</label>

						<div class="col-sm-10">
							<input type="text" class="form-control" value="">
						</div>
					</div>
				</form>

			</div>

			<div class="mail-text h-200">

				<div class="summernote">

				</div>
				<div class="clearfix"></div>
			</div>
			<div class="mail-body text-right tooltip-demo">
				<a href="mailbox.html" class="btn btn-sm btn-primary" data-toggle="tooltip" data-placement="top" title="Send"><i class="fa fa-reply"></i> 保存</a>
				<a href="mailbox.html" class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="top" title="Discard email"><i class="fa fa-times"></i> 放弃</a>
				<a href="mailbox.html" class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="top" title="Move to draft folder"><i class="fa fa-pencil"></i> 存为草稿</a>
			</div>
			<div class="clearfix"></div>

		</div>
		<div class="footer">
			<div class="pull-right">
				By：
				<a href="http://www.zi-han.net" target="_blank">zihan's blog</a>
			</div>
			<div>
				<strong>Copyright</strong> H+ &copy; 2014
			</div>
		</div>
		<!-- Mainly scripts -->
		<script src="js/jquery-2.1.1.min.js"></script>
		<script src="js/bootstrap.min.js?v=3.4.0"></script>
		<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

		<!-- Custom and plugin javascript -->
		<script src="js/hplus.js?v=2.2.0"></script>
		<script src="js/plugins/pace/pace.min.js"></script>

		<!-- iCheck -->
		<script src="js/plugins/iCheck/icheck.min.js"></script>

		<!-- SUMMERNOTE -->
		<script src="js/plugins/summernote/summernote.min.js"></script>
		<script src="js/plugins/summernote/summernote-zh-CN.js"></script>
		<script>
			$(document).ready(function() {
				$('.i-checks').iCheck({
					checkboxClass: 'icheckbox_square-green',
					radioClass: 'iradio_square-green',
				});

				$('.summernote').summernote({
					lang: 'zh-CN'
				});

			});
			var edit = function() {
				$('.click2edit').summernote({
					focus: true
				});
			};
			var save = function() {
				var aHTML = $('.click2edit').code(); //save HTML If you need(aHTML: array).
				$('.click2edit').destroy();
			};
		</script>

	</body>

</html>